package casa.depesos.app.com.http.req;


import casa.depesos.app.com.http.HttpReq;
import casa.depesos.app.com.http.Req;
import casa.depesos.app.com.http.ReqCallback;
import casa.depesos.app.com.http.bean.GetCodeBean;
import casa.depesos.app.com.http.parser.GetCodeParser;
import casa.depesos.app.com.utils.Constant;
import okhttp3.FormBody;

public class CancelAutoReq implements HttpReq<GetCodeBean> {
    @Override
    public void req(ReqCallback<GetCodeBean> callback) {//  delAutoLoan
        FormBody.Builder builder = new FormBody.Builder();
        builder.add("reqnum", Constant.getApplyId());
        Req.post("/app/financial/cancelAutomaticCredit", getParam(), getHeader(), builder.build(), new GetCodeParser(), callback, this);
    }
}
